{% extends "admin/change_list.html" %}

{% load i18n pagemagic_admin_tags %}

{% block object-tools %}
{% endblock %}

{% block content %}
{% global_cycle %} {# init #}
{{ block.super }}
    <style>
    ul.menu-branch li {
        margin:.4em 0;
    }
    th .menu-branch {
        font-weight: normal;
    }
    #content-related {
        float:right;
    }
    /*tr.pagemagic-level-0 a {*/
    tr.pagemagic-page-row a {
        font-weight: bold;
    }
    tr.disabled th a {
        color:#888;
    }
    .grid {
        font-weight:normal;
        color:#999;
        font-family: monospace;
    }
    .menu-item-name {
        background: #def;
        border:solid 1px #ddd;
        padding:0 .4em;
    }
    </style>
{% endblock %}

{% block breadcrumbs %}
    <div class="breadcrumbs">
        <a href="../../">{% trans "Home" %}</a> &rsaquo;
        {% trans "Pages" %}
    </div>
{% endblock %}

{% block result_list %}
    {% load pagemagic_admin_tags %}
    <style>
        .splitter, .disabled {
            color:#ccc;
        }
        ul.menu-branch li {
            margin:.4em 0;
        }
        #content-main {
            width: 100%;
        }
        tr.pagemagic-page-row:hover{
            background-color: #ffffbe;
        }
    </style>
    <table>
        {% show_admin_menu_branch %}
    </table>
{% endblock %}

{% block pagination %}{% endblock %}
